Post

Replies

Boosts

Views

Activity

Comment on FileProvider fails to trigger re-enumeration
Interesting note on childItemCount for updating file's parent when file is created in folder. In my current FileProvider implementation, I don't track the childItemCount property so I don't update the parent. What are the benefits of tracking it? Am I in trouble if I continue to not report the childItemCount property? (I know we're moving away from the main subject...)
Jul ’22
Comment on How to access files in macOS FileProvider Extension programmatically?
Indeed, passing a .rootContainer as fileIdentifier does return a URL like: let url = try! await NSFileProviderManager(for: myDomain)?.getUserVisibleURL(for: .rootContainer) but then: NSWorkspace.shared.open(url!) shows an error dialog: The application “MyApp” does not have permission to open “MyApp-FileProviderExtension-1.”
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Nov ’22
Comment on Hide the "cloud icons" with FileProvider
Completely another approach would be to base the implementation on macFUSE but that would require installing macFuse kext extension so I'm not sure if it is suitable for you...
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’22
Comment on FileProvider fails to trigger re-enumeration
Interesting note on childItemCount for updating file's parent when file is created in folder. In my current FileProvider implementation, I don't track the childItemCount property so I don't update the parent. What are the benefits of tracking it? Am I in trouble if I continue to not report the childItemCount property? (I know we're moving away from the main subject...)
Replies
Boosts
Views
Activity
Jul ’22